﻿/*
=======================================================
    WireropeStruct【绳芯结构】
=======================================================
*/

namespace Services
{
    public interface IWireropeStructLogic : ILogic<WireropeStructModel, WireropeStructFilterModel>
    {
        int UpdateIsDelete(bool flag, params int[] ids);
    }


    public class WireropeStructLogic : BaseLogic<WireropeStructModel, WireropeStructFilterModel, WireropeStruct, IWireropeStructRepository, IWireropeStructMapping, IWireropeStructService>, IWireropeStructLogic
    {
        public WireropeStructLogic(ICurrentUser currentUser, IWireropeStructRepository repository, IWireropeStructMapping mapping, IWireropeStructService service)
            : base(currentUser, repository, mapping, service)
        {
        }

        #region 启用/禁用  UpdateIsDelete
        public int UpdateIsDelete(bool flag, params int[] ids)
        {
            return _repository.UpdateIsDelete(flag, ids);
        }
        #endregion
        
    }
}
